package com.xiaok.smartclassroom.user.common.resq;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Classname UserLoginRESQ
 * @Description TODO
 * @Date 2021/3/24 22:21
 * @Created by xiaok
 */
@Data
@Accessors(chain = true)
public class UserLoginRESQ implements Serializable {
    private static final long serialVersionUID = 3482989124581470076L;
    /**
     * 用户编号
     */
    @ApiModelProperty(value = "用户编号")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userNo;
    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号")
    private String mobile;
    /**
     * token，设置有效期1天
     */
    @ApiModelProperty(value="token, 有效期为1天")
    private String token;
}
